package com.auxgroup.smarthome.business.service;

import com.auxgroup.bridge.business.inner.vo.RegionVo;
import com.auxgroup.bridge.business.inner.vo.ThirdCascaderVo;
import com.auxgroup.smarthome.business.service.inner.AdministrativeDivisionInnerService;
import com.auxgroup.smarthome.syscode.BusinessCode;
import com.auxgroup.smarthome.web.ApiResponse;

import java.util.List;

/**
 * Created by lixiaoxiao on 17-9-15.
 */
public class AdministrativeDivisionInnerServiceFallback implements AdministrativeDivisionInnerService{
    @Override
    public ApiResponse<List<RegionVo>> getAllProvince() {
        return ApiResponse.prompt(BusinessCode.FAIL);
    }

    @Override
    public ApiResponse<List<RegionVo>> getCityByProvince(String provinceId) {
        return ApiResponse.prompt(BusinessCode.FAIL);
    }

    @Override
    public ApiResponse<List<RegionVo>> getDistrictByCity(String cityId) {
        return ApiResponse.prompt(BusinessCode.FAIL);
    }

    @Override
    public ApiResponse<List<ThirdCascaderVo>> getThirdCasader() {
        return ApiResponse.prompt(BusinessCode.FAIL);
    }
}
